package com.zsh.weather.ln.home.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.zsh.weather.ln.R
import com.zsh.weather.ln.bean.CityEntry

class CareAdapter(data: MutableList<CityEntry>) :
    BaseQuickAdapter<CityEntry, BaseViewHolder>(R.layout.fragment_care_adapter, data) {
    override fun convert(holder: BaseViewHolder, item: CityEntry) {
        holder.setText(R.id.tv_name,item.name)
    }
}